package com.paiai.lslease.dao.apphouse;

import com.ibatis.sqlmap.client.SqlMapClient;

import java.sql.SQLException;

public class AppSocketInfoDAOImpl implements AppSocketInfoDAO {

    private SqlMapClient sqlMapClient;

    public AppSocketInfoDAOImpl(SqlMapClient sqlMapClient) {
        super();
        this.sqlMapClient = sqlMapClient;
    }

    public int selectNeweastAppSocketId() throws SQLException {
        return (Integer) sqlMapClient.queryForObject("app_socket_info.selectNeweastAppSocketId");
    }
}
